﻿using Dapper.Contrib.Extensions;

namespace Tauren.Form.Entity.Model
{
    [Table("form_childtableinfo")]
    public class Form_Child_TableInfo : EntityBase
    {
        [Key]
        public virtual int AutoId { get; set; }
        /// <summary>
        /// 表名
        /// </summary>
        public virtual string TableCode { get; set; }

        /// <summary>
        /// /由于流程对应的表名
        /// </summary>
        public virtual string FlowTableCode { get; set; }
        public virtual long? PrimaryTableId { get; set; }
        public virtual string ForeignKey { get; set; }

        /// <summary>
        /// 启用？
        /// </summary>
        public virtual bool Enable { get; set; }

        /// <summary>
        /// 顺序
        /// </summary>
        public virtual double Sequence { get; set; }

        /// <summary>
        /// 判断是否删除
        /// </summary>
        public virtual bool HaveDelete { get; set; }
    }
}
